package com.schoolgard.base.query;

import java.io.Serializable;
import java.util.Comparator;

public class ComparatorForSearchModel implements Comparator<SearchModel>, Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 6454305596794751142L;

    public int compare(SearchModel o1, SearchModel o2) {
        return o1.getLevel().compareTo(o2.getLevel());
    }

}
